package com.qf.events;

import com.qf.enums.DeviceStatus;
import org.springframework.stereotype.Component;

/**
 * created by 赵文韬 on 2022/3/26 20:42
 */
@Component
public class DevicePowerEvent {
    private String deviceId;
    private String ip;
    private DeviceStatus deviceStatus;

    public DevicePowerEvent() {
    }

    public DevicePowerEvent(String deviceId, String ip, DeviceStatus deviceStatus) {
        this.deviceId = deviceId;
        this.ip = ip;
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public DeviceStatus getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(DeviceStatus deviceStatus) {
        this.deviceStatus = deviceStatus;
    }
}
